package com.gecba.system.dao.repository;

import com.gecba.modular.jpa.repository.BaseRepository;
import com.gecba.system.entity.SysRolePermission;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.yaml.snakeyaml.representer.BaseRepresenter;

import java.util.List;

/**
 * @author ChenBo
 * @interfaceName SysRolePermissionRepository
 * @date 2021/7/25
 */
public interface SysRolePermissionRepository extends BaseRepository<SysRolePermission, Long> {
    List<SysRolePermission> findAllByRoleIdIn(List<Long> roleIds);
}
